<template>
  <div class="page_box">
    <el-pagination
      class="sc_pagination"
      v-bind="$attrs"
      v-on="$listeners"
      popper-class="share_select"
    ></el-pagination>
  </div>
</template>

<script>
export const DEFAULT_PAGE_SIZES = [10, 15, 20, 50, 100];
export default {
  name: "ScPagination",
  data() {
    return {
      DEFAULT_PAGE_SIZES
    };
  }
};
</script>

<style scoped lang="scss">
// el分页
.page_box {
  ::v-deep .sc_pagination.el-pagination {
    color: #adb1c2;
    text-align: right;
    button:disabled {
      opacity: 0.3;
    }
    .btn-prev,
    .btn-next {
      background-color: transparent;
      color: #adb1c2;
      min-width: auto;
      padding: 0;
    }
    .el-pager li {
      background-color: transparent;
      color: #adb1c2;
      // width: 20px;
      box-sizing: border-box;
      min-width: auto;
      &.active {
        color: #00a289;
      }
    }
    .el-pagination__jump {
      color: #adb1c2;
      margin-left: 12px;
      font-size: 12px;
      .el-pagination__editor {
        margin-left: 8px;
        margin-right: 8px;
        width: auto;
        padding: 0;
        input {
          width: 36px;
          height: 24px;
          background: #2b2e39;
          border-radius: 4px;
        }
      }
    }
    .el-pagination__sizes {
      margin: 0 12px;
      .el-input {
        margin: 0;
        width: 68px;
        input {
          background: #323642;
          padding: 0 18px 0 0;
          font-size: 12px;
        }
        i {
          width: 16px;
        }
      }
    }
    input {
      color: #adb1c2;
    }
    i {
      color: #adb1c2;
    }
    .el-pagination__total {
      color: #adb1c2;
      font-size: 12px;
    }
  }
}
</style>